﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ApprovalFlow.Interface;

namespace ApprovalFlow.Models
{
    public class StepExecutionContext : IStepExecutionContext
    {
        public WorkflowInstance Workflow { get; set; }

        public WorkflowStep Step { get; set; }

        public ExecutionPointer ExecutionPointer { get; set; }

        public object PersistenceData { get; set; }

        public object Item { get; set; }

        public CancellationToken CancellationToken { get; set; } = CancellationToken.None;
    }
}
